﻿

using Microsoft.Data.Edm.Values;
using System;
namespace Microsoft.Data.Edm
{
    /// <summary>
    /// Represents a definition of an EDM enumeration type member.
    /// </summary>
    public interface IEdmEnumMember : IEdmNamedElement, IEdmElement
    {
        /// <summary>
        /// Gets the value of this enumeration type member.
        /// </summary>
        IEdmPrimitiveValue Value
        {
            get;
        }
        /// <summary>
        /// Gets the type that this member belongs to.
        /// </summary>
        IEdmEnumType DeclaringType
        {
            get;
        }
    }
}
